package com.youi.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.youi.entity.Store;

public interface StoreDao extends BaseDao<Store>{

	/**
	 * 查询门店列表
	 * @param params
	 * @param storeParams
	 * @param managerParams
	 * @param sortParams
	 * @param pageIndex
	 * @param pageNum
	 * @param gtParams
	 * @param ltParams
	 * @return
	 */
	public List<Store> getByStoreList(@Param("params")Map<String, Object> params, @Param("storeParams")Map<String, Object> storeParams, @Param("managerParams")Map<String, Object> managerParams,@Param("sortParams")Map<String, Object> sortParams,
			@Param("pageIndex")Integer pageIndex, @Param("pageNum")Integer pageNum,@Param("gtParams")Map<String, Object>  gtParams,@Param("ltParams")Map<String, Object> ltParams);

	/**
	 * 查询门店总数
	 * @param params
	 * @param storeParams
	 * @param managerParams
	 * @param gtParams
	 * @param ltParams
	 * @return
	 */
	public Integer getStoreCount(@Param("params")Map<String, Object> params,  @Param("storeParams")Map<String, Object> storeParams, @Param("managerParams")Map<String, Object> managerParams,
			@Param("gtParams")Map<String, Object>  gtParams,@Param("ltParams")Map<String, Object> ltParams);
}